﻿using System;
using System.Collections.ObjectModel;

namespace AppTouchScreen.Data
{
    /// <summary>
    /// Encapsulates work with a category
    /// </summary>
    [Serializable]
    public class Category : StoreElement
    {
        private readonly ObservableCollection<StoreElement> _children = null;

        public ObservableCollection<StoreElement> Children
        {
            get { return _children; }
        }

        public Category(Category parent)
            : base(parent)
        {
            _children = new ObservableCollection<StoreElement>();
        }
    }
}
